﻿@model List<DataAccess.DTO.CollectIncomeInfoDTO>
@{
    ViewBag.MenuType = 4;
}
@section Styles{
    <link rel="stylesheet" type="text/css" href="/css/tigerstyle.css?v=1.11" />
}

@section Scripts{
    <script>$(".back-top").on("tap", function () { if ((typeof (myScroll) != "undefined")) { myScroll.scrollTo(0, 0, 300); } else { scrollTo(0, 0); } });//返回顶部</script>
}
<header id="header">
    <a href="javascript:history.back();" class="icon icon-goback"></a>
    123123
</header>


    <section class="user-head">
        <div class="user-head-img"><img src="/images/userbg.png" /></div>
        <div class="user-info">
            <i><img src="@ViewBag.UserImg" alt="" /></i>
            <div class="user-info-f">
                <p>@ViewBag.UserNick</p>
                <!--p></p-->
                <p></p>
            </div>
            <div class="user-o">
                <a href="/shop/@(ViewBag.user_name).html">我的分站</a>
            </div>
        </div>
        <ul class="user-s">
            <li><a href="/hz.html"><em>￥@ViewBag.all_income</em><p>结算汇总</p></a></li>
            <li><a href="/TXRecord.html"><em>￥@ViewBag.yitixian</em><p>已提现</p></a></li>
            <li><a href="/agent/Withdraw"><em>￥@ViewBag.balance</em><p>账户余额</p></a></li>
        </ul>
    </section>
    <div style="background:#c5c5c5;margin-top:0;width:100%;height:35px;line-height:35px;font-size:0.2rem;padding-left:0.2rem">
        公告：<a href=""></a>
    </div>
@foreach (var item in Model)
{
    
    if(item.type=="today_estimate")
    {
     <section class="accounts">
        <h1>@item.typename</h1>
        <ul class="user-s">
            <li><em>￥@(item.income + item.lower_income + item.onthe_lower_income)</em><p>汇总</p></li>
            <li><em>￥@item.income</em><p>本人预估</p></li>
            <li><em>￥@item.lower_income</em><p>下级预估</p></li>
            <li><em>￥@item.onthe_lower_income</em><p>下下级预估</p></li>
        </ul>
    </section>
    }
    else
    {
    
     <section class="accounts">
        <h1>@item.typename</h1>
        <ul class="user-s">
            <li><em>￥@(item.income + item.lower_income + item.onthe_lower_income)</em><p>结算汇总</p></li>
            <li><em>￥@item.income</em><p>本人结算</p></li>

            <li><em>￥@item.lower_income</em><p>下级结算</p></li>
            <li><em>￥@item.onthe_lower_income</em><p>下下级结算</p></li>
        </ul>
      
    </section>
    
    }
}
 
   
   
    <section class="common-wrapper">
        <a href="/ApplyOrder.html" class="user-row t icon-1"><i></i><p>我的订单</p></a>
        <!--a href="favorite.php" class="user-row b icon-2"><i></i><p>收藏夹</p></a-->
        <a href="/agent/Withdraw"><i></i><p>提现</p></a>
        <a href="/TXRecord.html" class="user-row b icon-7"><i></i><p>提现记录</p></a>
        <a href="/Huoban.html" class="user-row t icon-5"><i></i><p>我的代理下线</p></a>
        @*<a href="/QrCode.html" class="user-row b icon-6"><i></i><p>推荐注册代理</p></a>*@
        <div style="clear:both;height:60px;"></div>
        <!--<a href="top10.php" class="user-row b icon-7"><i></i><p>收入排行榜</p></a>-->
        <!--<a href="?view=editinfo" class="user-row t icon-8"><i></i><p>修改用户信息</p></a>>
        <a href="?view=editpass" class="user-row t icon-9"><i></i><p>修改登录密码</p></a>
        <a href="?act=logout" class="user-row b icon-10"><i></i><p>注销/切换账号</p></a-->
    </section>
